package com.food.model;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

import lombok.Data;
import org.apache.ibatis.type.Alias;

@Data
@Alias("OriginalMealRecord")
public class MealRecord {
    private Integer recordId;
    private Integer userId;
    private String mealType;
    private LocalDate recordDate;
    private LocalTime recordTime;
    private List<MealRecordDetail> details;

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMealType() {
        return mealType;
    }

    public void setMealType(String mealType) {
        this.mealType = mealType;
    }

    public LocalDate getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(LocalDate recordDate) {
        this.recordDate = recordDate;
    }

    public LocalTime getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(LocalTime recordTime) {
        this.recordTime = recordTime;
    }

    public List<MealRecordDetail> getDetails() {
        return details;
    }

    public void setDetails(List<MealRecordDetail> details) {
        this.details = details;
    }
} 